<%= render :partial => 'admin/shared/configuration_menu' %>

<div class='toolbar'>
  <ul class='actions'>
    <li>
      <%= button_link_to t("new_tax_category"), new_object_url, :icon => 'add' %></p>
    </li>
  </ul>
  <br class='clear' />
</div>


<h1><%=t("listing_tax_categories")%></h1>
<table class="index">
  <thead>
    <tr>
      <th><%= t("name") %></th>
      <th><%= t("description") %></th>
      <th></th>
    </tr>
  </thead>
  <tbody>
    <% @tax_categories.each do |tax_category|%>
      <tr>
        <td><%= tax_category.name %></td>
        <td><%= tax_category.description %></td>
        <td class="actions">
          <%=link_to_edit tax_category %> &nbsp; 
          <%=link_to_delete tax_category %>
      </tr>
    <% end %>
    <% if @tax_categories.empty? %>
      <tr><td colspan="3">None.</td></tr>
    <% end %>    
  </tbody>
</table>

